     editor.then (result) =>
       @writeCommitMessage(result)
 
+  # Internal: Writes the commit message template to the message file.
+  #
+  # editor - The editor the file is open in as {Object}.
   writeCommitMessage: (editor) =>
     commitMessage = '\n' + """
       # Please enter the commit message for your changes. Lines starting
       # with '#' will be ignored, and an empty message aborts the commit.
-      # On branch #{@current_branch.localName()}\n
+      # On branch #{@currentBranch.localName()}\n
     """
 
-    filesStaged = @file_list.staged()
-    filesUnstaged = @file_list.unstaged()
-    filesUntracked = @file_list.untracked()
+    filesStaged = @fileList.staged()
+    filesUnstaged = @fileList.unstaged()
+    filesUntracked = @fileList.untracked()
 
     commitMessage += '#\n# Changes to be committed:\n' if filesStaged.length >= 1
     commitMessage += file.commitMessage() for file in filesStaged

  stashPop: ->
    git.git 'stash pop'

  initiateCommit: ->
    git.incrementTaskCounter()
    if atom.config.get('atomatigit.pre_commit_hook') != ''
      atom.workspaceView.trigger(atom.config.get('atomatigit.pre_commit_hook'))

    fs.writeFileSync(@commitMessagePath(), '')

      git.decrementTaskCounter()

  checkoutBranch: ->
    @branchList.checkout_branch

  stash: ->
    git.git 'stash'
