How to use Opera as the Git Web browser

As in: the browser Git uses when you call git web--browse URL/FILE

git config --global web.browser opera
git config --global browser.opera.cmd opera

When support for Opera is released in Git v1.7.4 the second line should no longer be needed, but probably won’t hurt.