![git bash - To push the current branch and set the remote as upstream, use git push --set-upstream origin master - Stack Overflow git bash - To push the current branch and set the remote as upstream, use git push --set-upstream origin master - Stack Overflow](https://i.stack.imgur.com/Fa7tc.png)
git bash - To push the current branch and set the remote as upstream, use git push --set-upstream origin master - Stack Overflow
![Why does "git push main" work on GitHub when "git push master" does not? Also what is difference between "Main branch" and "Master branch"? - Stack Overflow Why does "git push main" work on GitHub when "git push master" does not? Also what is difference between "Main branch" and "Master branch"? - Stack Overflow](https://i.stack.imgur.com/OpZye.jpg)
Why does "git push main" work on GitHub when "git push master" does not? Also what is difference between "Main branch" and "Master branch"? - Stack Overflow
![git push origin master: Git and Github - must know commands to make your first commit - DEV Community 👩💻👨💻 git push origin master: Git and Github - must know commands to make your first commit - DEV Community 👩💻👨💻](https://res.cloudinary.com/practicaldev/image/fetch/s--J5eojBOH--/c_imagga_scale,f_auto,fl_progressive,h_1080,q_auto,w_1080/https://d3vv6lp55qjaqc.cloudfront.net/items/2d1v1H3V1R3M15331T1Z/Image%25202018-07-15%2520at%25203.00.36%2520PM.png%3FX-CloudApp-Visitor-Id%3D2532208)