in Technology by (1.9m points)

 When is the git config command used?

1 Answer

0 votes
by (1.9m points)
The git config command is used to set configuration options for your Git installation.

For example, after you download Git, you need to use below the config commands to setup username and commit email address in Git respectively:

$ git config –global “<username>”

$ git config –global “<email id>”

So, mainly, things like the behavior of the repository, user information and preferences can be set up with the help of this command.