add support of checkout a git branch