My repo: https://shadyabhi@github.com/shadyabhi/learnajax.git
shadyabhi@archlinux-N210 ~/github/learnajax $ cat .git/config
[core]
repositoryformatversi
if your username or password has special characters, you can replace it with the encoded
for example, if your password is "test@2010", you will write it as "test%402010" and the config command will be like this
git config remote.origin.url https://{username}:test%402010@github.com/{repo_username}/{repo_name}.git