Implement methods to get branches in a repository

Add a new mock method to create branches on an existing repo