Good afternoon!
This question is over-asked and a consistent problem in general, unfortunately: git push is hanging. I have had this issue many, many times before and have been able to fix it using already-asked questions on StackOverflow (this one is my favorite, as it has the most comprehensive answer list Git push hangs when pushing to Github?). I have tried nearly everything, and in the past I have caught typos in the configs (which I have fixed and they are fine). I have committed the correct files, git status returns good things, all I need to do is push. I think I may have pinpointed a potential issue using the GIT_CURL_VERBOSE = 1 solution provided in an answer at Git push hangs when pushing to Github?, and the resulting output is this:
* Couldn't find host github.com in the .netrc file; using defaults
* Trying <IP address here>...
* TCP_NODELAY set
Then I entered host www.github.com
in the command line to get the address for github.com. Whenever I push, it always tries the one IP address, but the IP address output from the command host www.github.com
consistently changes. So I applied the fix mentioned in the question and set https_proxy="" (I don't understand why this would fix things because I'm not using a proxy server). However, this did not fix the issue. I really don't understand why the IP address for github.com would be changing, so any help understanding what is going on would be much appreciated.
P.S. I should mention I don't have a .netrc file, I could probably create one if necessary, but from what I understand I don't think this would fix the issue of the nutty IP-switching for github.com.
P.P.S. I have also attempted other fixes, for example having the system try and prompt me for a password. I have done this in the past and it has worked fine, but this time it's not even prompting me for a password.
My apologies if I'm missing something novice here. Thank you!