         @span class: 'icon icon-arrow-up commits-ahead-label', outlet: 'commitsAhead'
         @span class: 'icon icon-arrow-down commits-behind-label', outlet: 'commitsBehind'
       @div class: 'git-status inline-block', outlet: 'gitStatus', =>
-        @span outlet: 'gitStatusIcon'
+        @span outlet: 'gitStatusIcon', class: 'icon'
 
   initialize: (@statusBar) ->
     @statusBar.subscribeToBuffer 'saved', @update

      {ahead, behind} = repo.getCachedUpstreamAheadBehindCount(itemPath) ? {}

      if ahead > 0
        @commitsAhead.text(ahead)
        @commitsAhead.element.style.display = ''
      else
        @commitsAhead.element.style.display = 'none'

      if behind > 0
        @commitsBehind.text(behind)
        @commitsBehind.element.style.display = ''
      else
        @commitsBehind.element.style.display = 'none'

    @branchArea.element.style.display = 'none'
    if @showBranchInformation()
      head = atom.project.getRepo()?.getShortHead(@getActiveItemPath()) or ''
      @branchLabel.element.textContent = head
      @branchArea.element.style.display = '' if head

  showBranchInformation: ->
