Branches module, Branch class and Git wrapper