We have a repo in GitHub which has 3 branches. For example, say master, developer and preview.
When I checkout this re
In AndroidStudio you have also the terminal (Tools --> Open Terminal, or View --> Tool Windows --> Terminal), open it, the current directory will be directly your project's, then just execute
git checkout the_name_of_the_branch
and that's all. I would recommend you then to use this: http://martinfitzpatrick.name/article/add-git-branch-name-to-terminal-prompt-mac/ it will be much easier to see on which branch you are, directly in the terminal.