How to get current git branch into an environment variable or something all the time?

Hi I want to run git push origin $BRANCH instead of typing the current branch name. How do I do that? If your answer is create an alias for the entire push or anything else I didn't ask for then you need not apply

Tony VII2021-01-20T13:28:01Z

Favorite Answer

I climbed up a tree but the branch broke and i fell on my head 

Anonymous2021-01-20T12:32:03Z

set BRANCH=blahblah
set BRANCH="blah blah"

git push origin %BRANCH%