Open In App

Git Status

Last Updated : 04 Oct, 2025
Comments
Improve
Suggest changes
3 Likes
Like
Report

The git status command is used to display the state of the working directory and the staging area. It shows which changes have been staged, which have not, and which files are not being tracked by Git. This command is important for understanding the current status of your project and for making informed decisions about your next steps.

To use the git status command, navigate to your Git repository in your terminal and type:

git status

This command does not require any arguments, and its output provides a snapshot of your repository’s status.

Creating a project folder and Initializing Git

$ mkdir gfg
$ cd gfg
$ git init

Output: