Check out some stuff they do over at tex exchange:
http://tex.stackexchange.com/questions/tagged/tikz-pgf
You can also easily take existing SVG and extract the curve formats out, normalize them and integrate them in your project as a few arrays. You wouldn't start from scratch and have to redraw the github logo. You just put it into source code and things such as arrows you can draw with a few commands