---
title: "Discussion on \"Basic Git commands\" | Hashnode"
description: "Discussion on \"Basic Git commands\". Here is a list of some useful git commands.\nInitialize empty Git repository\ngit init\nStage a file\ngit add filepath\nStage all files\ngit add .\nCommit file changes\ngit commit -m \"commit message\"\nCheck for staged and unstaged files\ngit status\nPush commit..."
url: "https://hashnode.com/posts/basic-git-commands/5f80824bf829251669389a02"
---

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

Discussion

# [Basic Git commands](https://temitope.hashnode.dev/basic-git-commands?utm_source=hashnode&utm_medium=feed)

Here is a list of some useful git commands. Initialize empty Git repository git init Stage a file git add filepath Stage all files git add . Commit file changes git commit -m "commit message" Check for staged and unstaged files git status Push commit...

Oct 9, 2020 · 2 min read · temitope.hashnode.dev  
Updated Oct 14, 2020  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[Temitope Ayodele](https://hashnode.com/@Temitope)

@Temitope · Lagos, Nigeria

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

Frontend developer

I am a Frontend Developer (MERN stack). I am a web-accessibility and open-source advocate. I am a great team-player who has worked with awesome teams to build great products. I am self-taught with rich experience on React and Vue.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
