Question - What is the difference between git reflog and log?
Answer -
The git log is a public record of the commit history for a branch. Reflog, on the other hand, is a private one of the repository’s local commits.
Unlike reflog, the git log is a part of the Git repository and is replicated after a push, fetch, or pull. A developer cannot access a local repository’s reflog without having access to the computer where it is located.