upload spin code to github