SOLVING CREDENTIALS AND CERTIFICATE ISSUES WHILE UPLOADING TO GITHUB

SOLVING CREDENTIALS AND CERTIFICATE ISSUES WHILE UPLOADING TO GITHUB

For me things never work as they should. Github is not an exception.
After my first try to submit things to repo i run into:

... Author identity unknown. *** Please tell me who you are.
PROBLEM CAN BE SOLVED BY THESE COMMANDS:
git config --global user.email "YOUR_EMAIL"
git config --global user.name "YOUR_LOGIN"

After that certificate issue occurred:

... self-signed certificate in certificate chain 

and another error right after the previous one:

... error setting certificate file: /path/to.ca.pem
ISSUES CAN BE FIXED BY MEANS OF CONSECUTIVE EXECUTION OF THESE COMMANDS:
git config --global http.sslCAInfo /path/to/ca.pem
git config --global http.sslBackend schannel