git switch branch_name_to_switch_to #you will switch to that branch and changes between them will take effect Note: changes if you switch to a branch will change back once you switch back to the original branch/