Class for git client is placed in a separate file.
Fixed the problem with switching to remote branch.