if you add a stl file in your repo and add the link to that file in your readme, then in your readme a link to the file is generated and by clicking on it, the stl is correctly rendered in a dedicated page of github. It is not clear how to embed in the readme the stl file, without inserting the ascii strings as suggested in the previous answer in this page.