made parent() method const
added method to determine the path to a file or directory
access the working tree model's repository
actually stage file by adding it to git index
(this also includes ignored files)
show error message on staging errors