   stash: ->
     git.cmd 'stash'
     .catch (error) -> new ErrorView(error)
+    .done -> atom.workspaceView.trigger 'atomatigit:refresh'
 
   stashPop: ->
     git.cmd 'stash pop'
     .catch (error) -> new ErrorView(error)
+    .done -> atom.workspaceView.trigger 'atomatigit:refresh'
 
   # Internal: Initiate a new commit.
   initiateCommit: =>

        git.cmd command
        .then (output) -> new OutputView(output)
        .catch (error) -> new ErrorView(error)

  # Public: Push the repository to the remote.
  push: =>

  fetch: ->
    git.cmd 'fetch'
    .catch (error) -> new ErrorView(error)
    .done -> atom.workspaceView.trigger 'atomatigit:refresh'

  # checkoutBranch: =>
  #   @branchList.checkoutBranch
