7.1 Benefits of Using Git

Implicit backup: Git maintains multiple backup copies within the repository. This is useful in case of an event or disk crash.

Pull and Push operation: Git allows you to copy changes to a remote or local repository.

  • The Pull operation fetches the changes from the Git repository to a local repository. This is useful when you want to synchronize changes between the two repository instances.

  • The Push or Publish operation publishes the changes from the staging area to a local repository and further publish them to the Git repository. You can also publish your changes directly from the staging area to the Git repository.