There is no difference in the end result.
Changes which are in the working directory and changes staged in the index do not belong to a branch. When you create and switch to a new branch, your uncommitted changes are not touched.
Question
Can anybody explain me about the difference between following two procedures:
M sure they are different, but exactly how, would like to find out.
Solution
There is no difference in the end result.
Changes which are in the working directory and changes staged in the index do not belong to a branch. When you create and switch to a new branch, your uncommitted changes are not touched.