I want to push github without typing username and pass every time.
Using Ubuntu terminal, git asks me every time my user name and pass, when I pushing in MacOS, it did not happen. I am setting correct global setting below.
git config --global user.name "username"  
git config --global user.email "my@email.com"
Saw this, (Why Git is not allowing me to commit even after configuration?) and tried
git config --unset --local user.name
git config --unset --local user.email
but nothing happened.... Please help me.
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    url = https://github.com/username/sh
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
 
     
    