Settings

git config --global user.name "My name"
git config --global user.email "something@example.com"

This change will be stored for all your projects. If you want to have a custom username or email for a specific project, replace that --global with --local.

Save credentials: git config credential.helper store