This ```.fail``` handler should be on the same level as ```Main.gitControl.getBranchName()```, currently is on the level with ```Main.gitControl.gitHistory(branchName)```