       constructor: (@options) ->
         user = @options.user
         repo = @options.name
+        # Set the `git` instance variable
         @git = new GitRepo(user, repo)
         @repoPath = "/repos/#{user}/#{repo}"
         @currentTree =

        new Branch(@git, getRef)


      getDefaultBranch: () ->
        # Calls getInfo() to get the default branch name
        getRef = =>

      getBranches: -> @git.getBranches()


      # Get a branch of a repository
      # -------
      getBranch: (branchName) ->
        getRef = =>
          deferred = new jQuery.Deferred()
