Changed how git-changes grabs file name

* The git-changes function wasn't accounting for added folders in some cases so I changed to use basename for path parsing.