I\'ve been working on a local clone of a remote git repository, committing my changes to my local master branch. Now, I want to push my commits to the remote repository. How
What I did was creatE a new local branch for example name it test1
> git checkout -b test1
This command will create a branch and switch to it directly, and then push your new local branch to your remote repository either GitHub or GitLab by typing
> git push origin test1
don't forget to check the correct link by typing.
> git remote --v