With git you can configure global or per repository settings. Global means any repository on your computer that you want to use will use these settings unless you specify specific settings per repository.
The settings I am speaking of are your username, email and remote origin etc. This article at this link covers the basics of setting your email and username.
But how do you see what the current values of a repository are? Navigate to the repository, to the level where your .git directory is and type the following:
git config –list
You should see something like the following:
You can also view individual settings such as user.name or user.email with the following
git config user.name
git config user.email
Those commands will output the current values that are set. Basically you are telling git to echo/print the current values.
Here is a list of all of the values you can set in the git configuration.
Here is a link to the documentation that explains how to get and set git configuration values.
The documentation links show mostly how to set global settings for git, many times you will want per repository settings such as the origin. This article covers nicely how to set per repository settings.
Bitbucket has created this really nice git tutorial and documentation.
Here is another page of links and resources about GIT