Make git_repository use shared update attr function.
Make git_repository use shared update attr function.

RELNOTES: None
PiperOrigin-RevId: 226469670

bazelbuild/bazel,meteorcloudy/bazel,aehlig/bazel,safarmer/bazel,dslomov/bazel-windows,katre/bazel,bazelbuild/bazel,perezd/bazel,twitter-forks/bazel,bazelbuild/bazel,werkt/bazel,aehlig/bazel,ButterflyNetwork/bazel,werkt/bazel,akira-baruah/bazel,aehlig/bazel,dslomov/bazel-windows,twitter-forks/bazel,ulfjack/bazel,cushon/bazel,perezd/bazel,katre/bazel,davidzchen/bazel,davidzchen/bazel,davidzchen/bazel,perezd/bazel,safarmer/bazel,werkt/bazel,ButterflyNetwork/bazel,ulfjack/bazel,meteorcloudy/bazel,meteorcloudy/bazel,perezd/bazel,aehlig/bazel,akira-baruah/bazel,ulfjack/bazel,ButterflyNetwork/bazel,aehlig/bazel,perezd/bazel,dslomov/bazel-windows,dslomov/bazel-windows,meteorcloudy/bazel,werkt/bazel,perezd/bazel,akira-baruah/bazel,ulfjack/bazel,dslomov/bazel-windows,dslomov/bazel,dslomov/bazel-windows,davidzchen/bazel,dslomov/bazel,aehlig/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,meteorcloudy/bazel,cushon/bazel,cushon/bazel,akira-baruah/bazel,ulfjack/bazel,ulfjack/bazel,twitter-forks/bazel,dslomov/bazel,cushon/bazel,meteorcloudy/bazel,aehlig/bazel,perezd/bazel,katre/bazel,safarmer/bazel,werkt/bazel,akira-baruah/bazel,ulfjack/bazel,twitter-forks/bazel,bazelbuild/bazel,dslomov/bazel,katre/bazel,bazelbuild/bazel,cushon/bazel,cushon/bazel,dslomov/bazel,davidzchen/bazel,bazelbuild/bazel,katre/bazel,dslomov/bazel,davidzchen/bazel,meteorcloudy/bazel,twitter-forks/bazel,davidzchen/bazel,safarmer/bazel,akira-baruah/bazel,werkt/bazel,safarmer/bazel,dslomov/bazel,safarmer/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,ButterflyNetwork/bazel,katre/bazel