Checkout action - checkout current branch

Hi,
Apologies if this has been queried already but is there an argument/property value e.g.: ${{ github.repository }} for current branch? I am evaluating using actions and while i can piece together how i build etc. With regards to the checkout action, how does it get configured to “checkout the current branch”?
I see this arg in the docs, but is there a ${{gitea.currentbranch}} prop? (also assume all the mentions of github in the readme should be gitea?)

    # The branch, tag or SHA to checkout. When checking out the repository that
    # triggered a workflow, this defaults to the reference or SHA for that event.
    # Otherwise, uses the default branch.
    ref: ''

gitea.ref_name
It is either branch or tag depending on the value of gitea.ref_type
In gitea, github and gitea contexts are the same. If you want to check full structure, you can write one-time job and dump each context as json to study their structure later

thanks for this! how does one dump the context? that seems highly useful! i was searching for documentation on what that context is/what properties are available but either my google fu is off these days or it just isnt there

A lot of info is available in Accessing contextual information about workflow runs - GitHub Docs
To dump context, use Evaluate expressions in workflows and actions - GitHub Docs to represent it as string and save it in a file sowhere where it will persist after job finish