I\'m very new to git so I\'m about to make my fist commit, so for this I have created a branch by typing git checkout my_branch .This worked fine. But after I saw i
git checkout my_branch
when you run with -b you are telling git to create the branch for you. git checkout without -b requires the branch to exist already to work.