I am really confused about how git checkout would work.
Let’s say I have two remotes:
origin
alternative
Let’s say both remotes have a branch called master.
What would happen if I do git checkout master? Would I be checking out the master of origin or the master of alternative? How would I change to the other one?
Grabs checks out the local branch named master.
Would create local branches that you can work on.