added a check to make sure the file exists in the repository
fixes mazubieta/gitlink-vim#3
added check to make sure the file has not been altered before linking
fixes mazubieta/gitlink-vim#3