I am new in git
and I am practicing. I created a local branch but I saw that when I did git push
my branch was not uploaded to the repository. I had to actually do: git push -u origin --all
.
Why is this? Isn’t a branch a new change to be pushed by default? Why do I need to run the second command?
![](https://itnursery.com/wp-content/uploads/2022/05/apple-touch-icon@2.png)