Today I try to track a remote branch (specifically, Mapbox-ios-sdk's 23-callouts.
So, what's the difference between the following three commands:
git checkout remotes/origin/23-callouts
git checkout -b remotes/origin/23-callouts
git checkout -b 23-callouts remotes/origin/23-callouts
The first command gives me a "(no branch)". My second command is actually a mistake I made where my third command was intended and I was surprised it goes through, and I don't know what happen there. The third command would give me what's called a "remote tracking branch", but how is that different from the second or the first? I've also seen "git checkout --track" is that the same thing as the third command?