printf "protocol=https host=github.com username=<me>" | git credential-manager-core get # output: protocol=https host=github.com username=<me> password=<oldpassword>