update git config
use nonblocking read