Git revert is a command that allows you to "undo" or revert specific commits in your Git repository. It creates a new commit that reverses the changes made by the specified commit(s), effectively rolling back your code to a previous state.
Here are some key things to know about git revert:
git reset, which can move your current branch's head to a different point in history, git revert creates new commits that reverse the changes made by specific commit(s).git revert, it creates a new commit that undoes the specified change. This means your Git history will still contain all previous commits.Visit the following resources to learn more: