<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/z7zvl5ia7" -->

---
title: 10 new Git commands you should start using today | daily.dev
description: Discover ten lesser-known Git commands that can streamline your workflow and enhance repository management. Learn about git switch for safer branch changes,...
canonical: https://daily.dev/posts/z7zvl5ia7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: 10 new Git commands you should start using today | daily.dev
og:description: Discover ten lesser-known Git commands that can streamline your workflow and enhance repository management. Learn about git switch for safer branch changes,...
og:url: https://daily.dev/posts/z7zvl5ia7
og:image: https://api.daily.dev/og/posts/Z7ZvL5iA7.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 10 new Git commands you should start using today

**[Appwrite](https://daily.dev/sources/appwrite)** · [@ebenezerdon](https://daily.dev/ebenezerdon) · 3253 upvotes · 124 comments

## Summary

Discover ten lesser-known Git commands that can streamline your workflow and enhance repository management. Learn about git switch for safer branch changes, git restore for precise undoing, git maintenance for automating repository health tasks, and more efficient handling of large monorepos with git sparse-checkout. Master these practical solutions to improve your productivity and maintain clean, optimized repositories.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://appwrite.io/blog/post/10-git-commands-you-should-start-using>

## Community discussion

Top comments from developers on daily.dev.

**@dokkey** · 7 upvotes

> Thanks for sharing

**@jedediahfanuel** · 4 upvotes

> Thanks

**@rinchans** · 3 upvotes

> nice

**@omkartalekar** · 3 upvotes

> Great article 👏

**@kavi\_castelo** · 2 upvotes

> Valuable content!

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#productivity](https://daily.dev/tags/productivity), [#git](https://daily.dev/tags/git), [#version-control](https://daily.dev/tags/version-control)

[View this post on daily.dev](https://daily.dev/posts/z7zvl5ia7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/z7zvl5ia7","headline":"10 new Git commands you should start using today","text":"Shared: 10 new Git commands you should start using today","url":"https://daily.dev/posts/z7zvl5ia7","datePublished":"2024-12-15T11:18:23.130Z","dateModified":"2024-12-15T11:18:53.055Z","author":{"@type":"Person","name":"Ebenezer Don","url":"https://daily.dev/ebenezerdon","image":"https://media.daily.dev/image/upload/s--78zWltcz--/f_auto/v1721407143/avatars/avatar_llcg06KP4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1470}},"image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3253},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":124}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/y2JWXcomw"},"comment":[{"@type":"Comment","text":"Thanks for sharing","datePublished":"2024-12-15T21:50:58.284Z","url":"https://daily.dev/posts/Z7ZvL5iA7#c-oZZOfQusq","author":{"@type":"Person","name":"Trent","url":"https://daily.dev/dokkey","image":"https://avatars.githubusercontent.com/u/68502371?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7}},{"@type":"Comment","text":"Thanks","datePublished":"2024-12-16T02:27:29.606Z","url":"https://daily.dev/posts/Z7ZvL5iA7#c-5EHAplmvU","author":{"@type":"Person","name":"Jedediah Fanuel","url":"https://daily.dev/jedediahfanuel","image":"https://lh3.googleusercontent.com/a-/AOh14GhoBarFR_VzchFS4rxlu-_2E6yfhUhytTD5HOC-WQ=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"nice","datePublished":"2024-12-16T03:23:13.232Z","url":"https://daily.dev/posts/Z7ZvL5iA7#c-pZ4A8sgw3","author":{"@type":"Person","name":"RinChans","url":"https://daily.dev/rinchans","image":"https://lh3.googleusercontent.com/a/ACg8ocLNt6EAD0hflUXt1DnRJd4qbkLORUQhj3wnIEY4CL7qFnPgCYA=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Great article 👏","datePublished":"2024-12-16T05:08:50.422Z","url":"https://daily.dev/posts/Z7ZvL5iA7#c-AqjlBvrqG","author":{"@type":"Person","name":"Omkar Talekar","url":"https://daily.dev/omkartalekar","image":"https://media.daily.dev/image/upload/s--CNT16g9g--/f_auto/v1731867873/avatars/avatar_peyhs6ey2XVyRY8F0lLdt"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Valuable content!","datePublished":"2024-12-16T08:24:24.136Z","url":"https://daily.dev/posts/Z7ZvL5iA7#c-XnpgRNwr8","author":{"@type":"Person","name":"kavi castelo","url":"https://daily.dev/kavi_castelo","image":"https://avatars.githubusercontent.com/u/85213722?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/appwrite","name":"Appwrite"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Appwrite","item":"https://daily.dev/squads/appwrite"},{"@type":"ListItem","position":3,"name":"10 new Git commands you should start using today"}]}
```

