adding and refactoring showing console git branch structure