in Git by
Name a few Git commands with their function.

1 Answer

0 votes
by

Below are few Git commands with their function.

  1. Git config - Configure the username and email address
  2. Git add - Add one or more files to the staging area
  3. Git diff - View the changes made to the file
  4. Git init - Initialize an empty Git repository
  5. Git commit - Commit changes to head but not to the remote repository
...