DEV Community

Anurag Rana
Anurag Rana

Posted on


Using Git Credentials Manager (GCM)

Origianally published at PythonCircle.Com

Are you tired of typing the Git username and password 512 times a day?

Use Git Credential Manager (GCM). This supports all major version control tools, GitLab, GitHub, Bitbucket, etc.

Here are the steps to set up GCM.


Download the GCM Deb file from here -


Install it using the below command:

sudo dpkg -i <path-to-package>

Configure it.

git-credential-manager configure


Go to your .bashrc file and copy-paste this line at the bottom.

export GCM_CREDENTIAL_STORE=plaintext

Restart the terminal.

Now you have to type the credentials just once and they will be stored on your system.

Note: There are many other ways to store the credentials. Storing credentials in plain text format is unsafe but convenient. This does not require any more packages to work.

You may explore more ways to store the credentials here

Read More:

Top comments (0)

50 CLI Tools You Can't Live Without

>> Check out this classic DEV post <<