title: Merging to a branch in git without switching to it
body: <p>I have an application running in a git repository on a branch (say <code>dev</code>). The application modifies the content in some the repository and commits them. I now have to merge these changes into another branch (say <code>master</code>) but the snag is that I don't want to <code>git checkout master</code> before doing this. Is there some way to say "merge current branch into master"?</p>