I'm new to Git/GitHub and I'm really struggling to push my local repos to the remote repos I've set up on GitHub. I started reading the Git manual and the reference book and found myself getting more confused that educated.
As I understand it, the two major options for pushing local repos to remote repos are HTTPS and SSH. Having looked at the process for setting up SSH and finding it complicated and unclear in some respects, I think I'd like to stick with HTTPS for now. The book talks about setting up servers but I'm not at all clear about that. Do I need to set up a server on my local machine to push my code to the remote repo? Aren't the HTTPS versions of the commands sufficient? Or is setting up a server an option that might simplify some aspects of pushing code to my remote repos?
I'm deliberately NOT including any code in this question because I view it as a concept question. This seems to be the key concept that I need to understand to figure out why my pushes aren't working. Once you've answered this question, I hope I can frame a coherent question about my specific problem with pushing code to my remotes.
Please understand that I'm new to Git and seem to have some fundamental gaps in my understanding of the concepts so please don't assume a deep knowledge of Git. This is essentially my first version control system since Panvalet, a mainframe tool we used in the 80s. Also, I should mention that my local machine is running Windows 10 and the current version of Git Bash.
