I am having an issue with Git branching. Whenever I make changes to a branch, all those changes get reflected in master branch even though I haven\'t invoked explicit merge
If you need to switch to master branch without commiting the current branch you can use git stash
git stash # all changes will be queued
git checkout master
# do whatever you need in master
git checkout dashboard
git stash pop # get all changes queued back to branch