Staging file and creating commit
Modify the files in your Git repository as needed.
Run the command git status to see the status of your repository. It will show you the modified files.
Stage the changes: Use the git add command to stage the changes you want to include in the commit. For example, to stage a single file named file.txt, you can run git add file.txt. If you want to stage all modified files, you can use
$git add .
or
$git add -A.
Run git status again to ensure that the changes you want to include in the commit are staged and ready.