Saving files to correct git directory