---
title: "Discussion on \"Important git commands everyone needs to know.🎯\" | Hashnode"
description: "Discussion on \"Important git commands everyone needs to know.🎯\". 1. Basic Git Commands:\n\nClone a repository:  git clone <GitHub-link>\n\nAdd a file to staging:  git add <file-name>\n\nAdd all changes to staging:  git add .\n\nCommit changes with a message:  git commit -m \"<message>\"\n\nPush changes to the main branch:  gi..."
url: "https://hashnode.com/posts/important-git-commands-everyone-needs-to-know/676b86e1b28fbaa934f21cef"
---

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

Discussion

# [Important git commands everyone needs to know.🎯](https://biren.hashnode.dev/important-git-commands-everyone-needs-to-know?utm_source=hashnode&utm_medium=feed)

1\. Basic Git Commands: Clone a repository: git clone <GitHub-link> Add a file to staging: git add <file-name> Add all changes to staging: git add . Commit changes with a message: git commit -m "<message>" Push changes to the main branch: gi...

Dec 25, 2024 · 2 min read · biren.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#gitcommands](https://hashnode.com/tag/gitcommands)
-   [#linux](https://hashnode.com/tag/linux)
-   [#linuxsystemadministration](https://hashnode.com/tag/linuxsystemadministration)
-   [#branch](https://hashnode.com/tag/branch)

## Written by

[Birendra Kumar Chaudhary](https://hashnode.com/@birendra353)

@birendra353 · Nepal, kathmandu

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

system and cloud administrator at Appharu PVT. LTD

🌐 DevOps Enthusiast | Cloud &amp; System Administrator | WordPress Expert With 2+ years of experience, I specialize in cloud infrastructure, server management, and WordPress development. At Appharu PVT. LTD., I optimize systems, reduce costs, and implement monitoring solutions. Experienced in deploying 50+ WordPress sites, AWS S3 integration, and troubleshooting technical issues, I’m focused on performance, security, and continuous learning in DevOps and automation.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
