I've read answers to variations of this basic question but I'm still confused. When I enter the following git command:
git push remote_repo cool_branch
How does git treat the 'cool_branch'?
Is it the LOCAL branch, from which the changes are going to be transferred to 'remote_repo' repository? If so, to which remote branch will the changes pushed?
Is it the REMOTE branch to which the changes are going to be pushed? If so, from which local branch will git take the changes that it is going to push?
Which of the two options is the correct one?
Regarding 'tracking branches', from what I understood, those are local branch that "know" from which remote brunches they fetch, and "know" to which remote branches do they push. Am I right?