when I enter the "push origin master" command this error shows up, what to do?

error message - "fatal: unable to access '<https://git.com/LokeshKarki/Java-Core-Advance-Program.git/>': SSL: no alternative certificate subject name matches target host name 'git.com'"

and yes I tried this command to - "git config --global http.sslVerify false"
then entering the "push origin master" command 
and then this error message show up - "fatal: unable to update url base from redirection:
 asked for: <https://git.com/LokeshKarki/Java-Core-Advance-Program.git/info/refs?service=git-receive-pack>
 redirect: <https://venture.com/domains/git.com>"

I want to push my local files to my private repo on github.