Fix Git completion deprecation warnings