Git is the most popular version control system(Git) used among developers. While coding we can make mistakes which may be hard to undo...