Forcing git diff to not use colorized output
Forcing git diff to not use colorized output

Summary:
If a user sets `color.ui` or `color.diff` to `always` in their git configuration files, the output of `git diff` will contain some "color characters" as well as the diff. When you try to apply this diff with color characters with `git apply` you will get `fatal: unrecognized input`.

I think this is the cause of issue #11543

Reproduce in git with:
```
mkdir git-test
cd git-test/
git init
echo "foo" > bar.txt
git add bar.txt
git commit -m "First"
echo "foomobile" > bar.txt
git add bar.txt
git diff HEAD > new.patch --color=always
git reset --hard HEAD
git apply new.patch --check
```

Set `--color=never` or `--no-color` and the unrecognized input error should disappear and the patch be applied successfully.
Closes https://github.com/facebook/react-native/pull/12211

Differential Revision: D4514132

fbshipit-source-id: 3622df6ece92794c8a175f0599f5a276d92e82e8

pandiaraj44/react-native,facebook/react-native,imjerrybao/react-native,jevakallio/react-native,cpunion/react-native,doochik/react-native,kesha-antonov/react-native,frantic/react-native,happypancake/react-native,Purii/react-native,kesha-antonov/react-native,shrutic/react-native,PlexChat/react-native,cdlewis/react-native,jasonnoahchoi/react-native,thotegowda/react-native,aljs/react-native,forcedotcom/react-native,exponent/react-native,myntra/react-native,Maxwell2022/react-native,exponentjs/react-native,thotegowda/react-native,DanielMSchmidt/react-native,farazs/react-native,jevakallio/react-native,javache/react-native,htc2u/react-native,jasonnoahchoi/react-native,gilesvangruisen/react-native,Bhullnatik/react-native,orenklein/react-native,shrutic123/react-native,skevy/react-native,lprhodes/react-native,jevakallio/react-native,alin23/react-native,Bhullnatik/react-native,cdlewis/react-native,Livyli/react-native,mironiasty/react-native,ptomasroos/react-native,javache/react-native,imDangerous/react-native,alin23/react-native,farazs/react-native,Livyli/react-native,imjerrybao/react-native,frantic/react-native,adamjmcgrath/react-native,DanielMSchmidt/react-native,cdlewis/react-native,dikaiosune/react-native,javache/react-native,doochik/react-native,Guardiannw/react-native,CodeLinkIO/react-native,hoastoolshop/react-native,Swaagie/react-native,ndejesus1227/react-native,ptmt/react-native-macos,aljs/react-native,jasonnoahchoi/react-native,adamjmcgrath/react-native,facebook/react-native,ptmt/react-native-macos,CodeLinkIO/react-native,DanielMSchmidt/react-native,skevy/react-native,imjerrybao/react-native,orenklein/react-native,tszajna0/react-native,dikaiosune/react-native,adamjmcgrath/react-native,orenklein/react-native,Bhullnatik/react-native,tszajna0/react-native,shrutic/react-native,thotegowda/react-native,cpunion/react-native,aljs/react-native,hammerandchisel/react-native,csatf/react-native,Ehesp/react-native,dikaiosune/react-native,makadaw/react-native,peterp/react-native,peterp/react-native,hoangpham95/react-native,orenklein/react-native,adamjmcgrath/react-native,formatlos/react-native,myntra/react-native,imDangerous/react-native,skevy/react-native,CodeLinkIO/react-native,farazs/react-native,cdlewis/react-native,negativetwelve/react-native,peterp/react-native,makadaw/react-native,ptmt/react-native-macos,tadeuzagallo/react-native,brentvatne/react-native,ptmt/react-native-macos,rickbeerendonk/react-native,tsjing/react-native,Bhullnatik/react-native,mironiasty/react-native,shrutic123/react-native,jasonnoahchoi/react-native,imDangerous/react-native,Guardiannw/react-native,mironiasty/react-native,csatf/react-native,tadeuzagallo/react-native,alin23/react-native,hoastoolshop/react-native,imjerrybao/react-native,Purii/react-native,Livyli/react-native,PlexChat/react-native,Ehesp/react-native,skevy/react-native,hoangpham95/react-native,Maxwell2022/react-native,janicduplessis/react-native,cpunion/react-native,CodeLinkIO/react-native,rickbeerendonk/react-native,thotegowda/react-native,alin23/react-native,makadaw/react-native,tsjing/react-native,hammerandchisel/react-native,shrutic123/react-native,ndejesus1227/react-native,Guardiannw/react-native,pandiaraj44/react-native,aljs/react-native,aljs/react-native,imDangerous/react-native,skevy/react-native,makadaw/react-native,tadeuzagallo/react-native,facebook/react-native,frantic/react-native,Livyli/react-native,imDangerous/react-native,janicduplessis/react-native,tsjing/react-native,PlexChat/react-native,facebook/react-native,doochik/react-native,lprhodes/react-native,CodeLinkIO/react-native,formatlos/react-native,thotegowda/react-native,clozr/react-native,ptomasroos/react-native,doochik/react-native,chnfeeeeeef/react-native,frantic/react-native,javache/react-native,pandiaraj44/react-native,imDangerous/react-native,javache/react-native,exponent/react-native,janicduplessis/react-native,skevy/react-native,ptomasroos/react-native,ndejesus1227/react-native,rickbeerendonk/react-native,DanielMSchmidt/react-native,skevy/react-native,peterp/react-native,cpunion/react-native,ptomasroos/react-native,Bhullnatik/react-native,Ehesp/react-native,ptomasroos/react-native,ptmt/react-native-macos,jasonnoahchoi/react-native,jevakallio/react-native,aljs/react-native,cdlewis/react-native,javache/react-native,clozr/react-native,javache/react-native,pandiaraj44/react-native,hoangpham95/react-native,rickbeerendonk/react-native,arthuralee/react-native,Swaagie/react-native,tszajna0/react-native,hoastoolshop/react-native,cdlewis/react-native,imjerrybao/react-native,gilesvangruisen/react-native,mironiasty/react-native,htc2u/react-native,peterp/react-native,shrutic123/react-native,farazs/react-native,hammerandchisel/react-native,exponentjs/react-native,Maxwell2022/react-native,shrutic/react-native,DanielMSchmidt/react-native,Swaagie/react-native,CodeLinkIO/react-native,cdlewis/react-native,imDangerous/react-native,hoangpham95/react-native,Ehesp/react-native,happypancake/react-native,clozr/react-native,forcedotcom/react-native,lprhodes/react-native,tsjing/react-native,gilesvangruisen/react-native,facebook/react-native,Ehesp/react-native,tsjing/react-native,alin23/react-native,shrutic/react-native,tszajna0/react-native,jevakallio/react-native,ndejesus1227/react-native,shrutic123/react-native,adamjmcgrath/react-native,skevy/react-native,myntra/react-native,Ehesp/react-native,mironiasty/react-native,happypancake/react-native,adamjmcgrath/react-native,ptmt/react-native-macos,rickbeerendonk/react-native,Purii/react-native,Guardiannw/react-native,kesha-antonov/react-native,arthuralee/react-native,kesha-antonov/react-native,gilesvangruisen/react-native,imDangerous/react-native,Maxwell2022/react-native,DanielMSchmidt/react-native,shrutic/react-native,Ehesp/react-native,brentvatne/react-native,jevakallio/react-native,negativetwelve/react-native,ptmt/react-native-macos,brentvatne/react-native,brentvatne/react-native,orenklein/react-native,shrutic/react-native,csatf/react-native,janicduplessis/react-native,ptomasroos/react-native,shrutic123/react-native,Guardiannw/react-native,Maxwell2022/react-native,gilesvangruisen/react-native,hammerandchisel/react-native,clozr/react-native,farazs/react-native,Livyli/react-native,exponentjs/react-native,Swaagie/react-native,hoangpham95/react-native,clozr/react-native,pandiaraj44/react-native,exponentjs/react-native,exponentjs/react-native,janicduplessis/react-native,adamjmcgrath/react-native,ndejesus1227/react-native,Maxwell2022/react-native,makadaw/react-native,doochik/react-native,tadeuzagallo/react-native,PlexChat/react-native,exponentjs/react-native,exponentjs/react-native,clozr/react-native,myntra/react-native,hoastoolshop/react-native,mironiasty/react-native,hoangpham95/react-native,aljs/react-native,rickbeerendonk/react-native,myntra/react-native,hammerandchisel/react-native,Bhullnatik/react-native,mironiasty/react-native,exponentjs/react-native,pandiaraj44/react-native,dikaiosune/react-native,tadeuzagallo/react-native,ndejesus1227/react-native,dikaiosune/react-native,janicduplessis/react-native,orenklein/react-native,arthuralee/react-native,kesha-antonov/react-native,shrutic123/react-native,javache/react-native,brentvatne/react-native,htc2u/react-native,formatlos/react-native,thotegowda/react-native,imjerrybao/react-native,doochik/react-native,doochik/react-native,Bhullnatik/react-native,chnfeeeeeef/react-native,formatlos/react-native,alin23/react-native,hammerandchisel/react-native,myntra/react-native,ndejesus1227/react-native,frantic/react-native,negativetwelve/react-native,tsjing/react-native,forcedotcom/react-native,brentvatne/react-native,negativetwelve/react-native,ptomasroos/react-native,DanielMSchmidt/react-native,Maxwell2022/react-native,arthuralee/react-native,alin23/react-native,exponent/react-native,DanielMSchmidt/react-native,lprhodes/react-native,htc2u/react-native,cpunion/react-native,tszajna0/react-native,dikaiosune/react-native,kesha-antonov/react-native,ptomasroos/react-native,chnfeeeeeef/react-native,gilesvangruisen/react-native,CodeLinkIO/react-native,lprhodes/react-native,tszajna0/react-native,hammerandchisel/react-native,peterp/react-native,cdlewis/react-native,makadaw/react-native,peterp/react-native,tadeuzagallo/react-native,Livyli/react-native,jevakallio/react-native,janicduplessis/react-native,PlexChat/react-native,Purii/react-native,gilesvangruisen/react-native,Swaagie/react-native,negativetwelve/react-native,forcedotcom/react-native,adamjmcgrath/react-native,dikaiosune/react-native,tsjing/react-native,csatf/react-native,csatf/react-native,forcedotcom/react-native,exponent/react-native,kesha-antonov/react-native,exponent/react-native,happypancake/react-native,Swaagie/react-native,myntra/react-native,ndejesus1227/react-native,formatlos/react-native,myntra/react-native,happypancake/react-native,gilesvangruisen/react-native,negativetwelve/react-native,chnfeeeeeef/react-native,myntra/react-native,formatlos/react-native,lprhodes/react-native,janicduplessis/react-native,formatlos/react-native,Guardiannw/react-native,CodeLinkIO/react-native,doochik/react-native,chnfeeeeeef/react-native,farazs/react-native,facebook/react-native,exponent/react-native,farazs/react-native,PlexChat/react-native,cpunion/react-native,hoangpham95/react-native,csatf/react-native,doochik/react-native,arthuralee/react-native,formatlos/react-native,chnfeeeeeef/react-native,Ehesp/react-native,jasonnoahchoi/react-native,shrutic123/react-native,htc2u/react-native,forcedotcom/react-native,mironiasty/react-native,hoastoolshop/react-native,facebook/react-native,kesha-antonov/react-native,brentvatne/react-native,clozr/react-native,negativetwelve/react-native,Bhullnatik/react-native,htc2u/react-native,thotegowda/react-native,pandiaraj44/react-native,hammerandchisel/react-native,makadaw/react-native,jasonnoahchoi/react-native,cpunion/react-native,pandiaraj44/react-native,brentvatne/react-native,happypancake/react-native,exponent/react-native,hoangpham95/react-native,farazs/react-native,lprhodes/react-native,tadeuzagallo/react-native,Guardiannw/react-native,Livyli/react-native,forcedotcom/react-native,chnfeeeeeef/react-native,rickbeerendonk/react-native,shrutic/react-native,lprhodes/react-native,rickbeerendonk/react-native,Guardiannw/react-native,Maxwell2022/react-native,tszajna0/react-native,chnfeeeeeef/react-native,rickbeerendonk/react-native,makadaw/react-native,hoastoolshop/react-native,cdlewis/react-native,happypancake/react-native,imjerrybao/react-native,alin23/react-native,negativetwelve/react-native,jasonnoahchoi/react-native,clozr/react-native,shrutic/react-native,peterp/react-native,jevakallio/react-native,ptmt/react-native-macos,csatf/react-native,kesha-antonov/react-native,happypancake/react-native,csatf/react-native,javache/react-native,hoastoolshop/react-native,makadaw/react-native,farazs/react-native,dikaiosune/react-native,aljs/react-native,Purii/react-native,mironiasty/react-native,htc2u/react-native,Swaagie/react-native,htc2u/react-native,tadeuzagallo/react-native,brentvatne/react-native,Purii/react-native,Swaagie/react-native,exponent/react-native,PlexChat/react-native,formatlos/react-native,orenklein/react-native,facebook/react-native,imjerrybao/react-native,forcedotcom/react-native,tszajna0/react-native,Purii/react-native,facebook/react-native,PlexChat/react-native,jevakallio/react-native,orenklein/react-native,tsjing/react-native,Purii/react-native,Livyli/react-native,negativetwelve/react-native,hoastoolshop/react-native,thotegowda/react-native,cpunion/react-native