xxxxxxxxxx
git checkout -f {BranchName}
xxxxxxxxxx
git stash save your-file-name
git checkout master
# do whatever you had to do with master
git checkout staging
git stash pop
/*
* $git stash save :will create stash that contains your changes, but it isn't associated with any
* commit or even branch. git stash pop will apply latest stash entry to your current branch,
* restoring saved changes and removing it from stash.
*/