git credential helper = cache --timeout code example
Example 1: git credential cache
# Set credential cache to avoid typing password every time
# (Timeout time is in seconds i.e. 14 hours)
# For Ubuntu
git config credential.helper 'cache --timeout=50400'
Example 2: create permanent git credentials windows
git remote set-url origin [email protected]:username/repo.git