Initialize a Git repository using 'git init'Add a file to staging area using 'git add'Commit the file using 'git commit'Push code to remote repository using 'git push'