In Github, an unit of work is pull request. When you start work on a bug or a feature, you create a new git branch and several commits in a branch. When you're happy with the work, you merge the branch to the master branch.
In Gerrit, an unit of work is a commit. Similar to Github, you create a new git branch and a commit in it. When you have some code, you should push it to Gerrit. (That is covered in task T248232.) If you want to make changes, you don't create new commits in the branch. Instead you amend the existing commit. You can amend the commit many times. When you're happy with the work, you merge the commit to the master branch.
This task will introduce you to the Gerrit workflow of amending a commit. I have created a commit and pushed it to Gerrit: [[ https://gerrit.wikimedia.org/r/c/mediawiki/core/+/585759 | 585759 ]].
For more information see https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change_.28your_own_or_someone_else.27s.29