This command describes the version installed in the local system.
This command is used to create a new blank Git repository.
This commands helps in registering the username and mail id.This will make it easy to know which developer made the changes.
This command adds all the changes made in the working directory.
The flow is git add . > git commit -m ''> git push origin main
The command for commiting the code in staging environment.
default branch is 'master'. In order to push code, need to change the branch to 'main'.
gi This command lists the remote connection user has to other repositories.
Need to pull before push to avoid merge conflicts later.
This command pushes the changes from stagging to main git repository
this command is used to revert the changes pushed in the repository.
git clone is primarily used to point to an existing repo and make a clone or copy of that repo at in a new directory, at another location
This shows the sequence of events performed in the repository