Today I stumbled on How to show git branch in statusline?. The question's title is a bit misleading—it actually wants a review of current code. Seeing that it was a code review, I was unsure how to proceed, but figured I would leave a first-draft answer and then ask on meta.
While drafting this question, I found and read How does this site feel about code review questions?. It argues for allowing such Q&As.
I want to clarify for this specific case that I am following site procedure (so that I can rest easier in my answer)—effectively, that the linked meta is still community consensus.
(I for one would love it to be, since I don't spend as much time on CR either, and vimscript only has 11 questions on CR.)