model: use stdout for "git config" and "git branch"

Signed-off-by: David Aguilar <davvid@gmail.com>