1. You need to clone the repository to your computer by doing --> git clone [link of repository]
2. After you have finished your work add your updated files/folders --> git add [files/folders]
3. Give a message to your commit by --> git commit -m "[message]"
4. Finally in order to see the changes in the repository use --> git push
This is tested and works for gitlab.