How to commit files like Excel/Images/Zip

I am trying to find a way to commit files like Excel/images/zip via API with little to no luck right now. I tried reading the documentation and the forums but could not get it working… Could someone please show me how to do that?