"Awesome" website makes it easy for you & helps you get answers to your question
Go-Hugo / Make / Makefile / dist/ committed
You clone the Git repository as a working copy. You modify the working copy by adding/editing files. You review the changes before commit. You commit changes. If everything is fine, then you push the changes to the repository. After committing, if you realize something is wrong, then you correct the last commit and push the changes to the repository.