Learn how to revert Git repository to previous commit using reset, revert, or branch creation methods. Complete guide with safety tips.