Manipulate branches.

* Get latest branch.
* Get current branch.