added stderr and exceptions (#19)
added stderr and exceptions (#19)

* added stderr and exceptions

* added log to push and check for commit error

* fixed quality

* doc improvements + small tweaks

* [git_add] actually take input pattern

* less brittle test if local_dir is an actual git repo

Co-authored-by: Julien Chaumond <5c682c2d1ec4073e277f9ba9f4bdf07e5794dabe@huggingface.co>
huggingface/huggingface_hub