Adding function to get current branch.

Change-Id: I5a94a555cd63672f6549f30428af900313287df6