sudo apt install gitInstall GIT
git statusgit status
git initInitiate the git
git add folder_nameadd folder to git, or put . for all files
git config --global user.name "Venkatesh"configure Name
git config --global user.email "venkateshtamizl@gmail.com"configure Email
git branch -M mainMain Branch
git config --listget the configured list
git remote add origin git@github.com:venkateshtamizl/dockerfiles.gitconfigured to the github repository
git push -u origin mainpush the files
git restore -- .

git restore filename.txt
restore the deleted files from git
git push origin mainpush the changes to the github