private string ExtractGitBranchNameFromTfsRepositoryPath(string tfsRepositoryPath)
{
var includeTeamProjectName = !Repository.IsInSameTeamProjectAsDefaultRepository(tfsRepositoryPath);
var gitBranchName = tfsRepositoryPath.ToGitBranchNameFromTfsRepositoryPath(includeTeamProjectName);
gitBranchName = Repository.AssertValidBranchName(gitBranchName);
Trace.TraceInformation("The name of the local branch will be : " + gitBranchName);
return gitBranchName;
}