:thought_balloon: If I'm reading this right, then this will do strange things if you don't have an editor open on the file when you trigger `stageFile`. Namely, it'll always save the active editor, and it'll raise an exception if you have an active view that isn't an editor, like the styleguide!

You should be able to delete line 115 here, `return null` explicitly, and handle the `null` case up the call chain with `?.` calls instead.

1. See my note from #54 about using the `.closest('li')` instead of the `.parent().parent()` stuff for a less brittle way of finding the path.

2. There's a [`relativize()`](https://github.com/atom/atom/blob/v0.99.0/src/git.coffee#L170) method on `atom.project.getRepo()` that you can use to find the absolute path a little more cleanly. Something like:
  ```coffeescript
  filePath = atom.project.getRepo().relativize repoPath
  ```

3. The `return` on 126 isn't necessary, and doesn't work anyway since `GitBridge.add` executes its callback asynchronously. You shouldn't need the fat arrow `=>` there either, then.