Saving changes and adding file to repo.