You can use `for-each-ref` for that. For example: ``` git for-each-ref --count=1 --sort='-authordate' refs/heads ```https://git-scm.com/docs/git-for-each-ref#_examples has an example how to get 3 recent tags
You can use `for-each-ref` for that. For example: ``` git for-each-ref --count=1 --sort='-authordate' refs/heads ```https://git-scm.com/docs/git-for-each-ref#_examples has an example how to get 3 recent tags