Open a local git project to begin, or open a GitHub repository.
Move to an earlier commit. This rewrites branch history and is distinct from discarding a file's edits.