Adding in git branch logic