add support for git branch checkout