---
title: "Discussion on \"Weekly Git Command #2: git restore\" | Hashnode"
description: "Discussion on \"Weekly Git Command #2: git restore\". Weekly Git Command #2: git restore\nFor a long time, I used git checkout for almost everything, switching branches, discarding changes, restoring files.\nWhile contributing during the Outreachy contribution phase, I learned that Git now provides cleare..."
url: "https://hashnode.com/posts/weekly-git-command-2-git-restore/6955938cf5cf4d5f7e1e8e6a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Weekly Git Command #2: git restore](https://cloobtech.hashnode.dev/weekly-git-command-2-git-restore?utm_source=hashnode&utm_medium=feed)

Weekly Git Command #2: git restore For a long time, I used git checkout for almost everything, switching branches, discarding changes, restoring files. While contributing during the Outreachy contribution phase, I learned that Git now provides cleare...

Dec 31, 2025 · 2 min read · cloobtech.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#outreachy](https://hashnode.com/tag/outreachy)
-   [#outreachyinternship](https://hashnode.com/tag/outreachyinternship)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#gitlab](https://hashnode.com/tag/gitlab)

## Written by

[Bello Olamide](https://hashnode.com/@cloobTech)

@cloobTech

  
[View profile](https://hashnode.com/@cloobTech)

Software Engineer (Full Stack) ALX

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
