`['git', 'checkout', source]` is enough.