Implement get branches in repository

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