$ git log$ git status$ git add /home/example/public_html/newfile.php$ git add /home/example/public_html/newfile.php$ git commit -m "Description"$git commit -a -m "Description"$ git push$ git pull$ git log$ git status$ git add /home/example/public_html/newfile.php$ git add /home/example/public_html/newfile.php$ git commit -m "Description"$git commit -a -m "Description"$ git push$ git pull
On the develop website
To see the git history
To check the git status
To add new files and modified files
To add new files files individually
To commit git
$ git commit -m "Description"To add all new files files automatically
To push the committed git changes to gitlab.com
On the live server