git will always replace %p with the current panel path.
git
Go to the first, previous, next, last section, table of contents.