     @branchArea.hide()
     return unless path
 
-    head = new Git(path).getShortHead()
+    head = @git.getShortHead()
     @branchLabel.text(head)
     @branchArea.show() if head
 

    @gitStatusIcon.empty()
    return unless path

    git = new Git(path)
    if git.isPathModified(path)
      @gitStatusIcon.append $$ -> @span '\uf26d', class: 'modified-status-icon'
    else if git.isPathNew(path)
      @gitStatusIcon.append $$ -> @span '\uf26b', class: 'new-status-icon'



          @span class: 'branch-label', outlet: 'branchLabel'
        @span outlet: 'cursorPosition'

  git: null

  initialize: (@rootView, @editor) ->
    @updatePathText()
    @editor.on 'editor-path-change', =>
