Commit changes to other branch
Type 1:
git stash
git checkout otherBranch
git stash popType 2:
git branch otherBranch
git checkout -m otherBranchType 3:
git checkout otherBranch
git add *
git commit -mLast updated
git stash
git checkout otherBranch
git stash popgit branch otherBranch
git checkout -m otherBranchgit checkout otherBranch
git add *
git commit -mLast updated