Git Commands
Git Commands
git init
Initializes a new Git repository in the current directory.
3.git status
Displays the status of the working directory and staging area.
5.git add .
Stages all changes (new, modified, deleted files).
9.git log
Shows the commit history for the current branch.
10.git branch
Lists all local branches in the repository.
14.git stash
Stashes uncommitted changes temporarily.
17.git diff
Shows differences between files or commits.
19.git remote -v
Lists remote repositories.