git-foreach: remove given/when

given/when issues warnings as of perl 5.18 and will likely change in
a future version.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>