Print the name of the top patch
stg top
Print the name of the current (topmost) patch.
-b BRANCH, --branch BRANCH
Use BRANCH instead of the default branch.
Part of the StGit suite - see stg(1)