1. Create Github account and follow Github integration for Smarthings UK Server:
https://graph-eu01-euwest1.api.smartthings.com/githubAuth/step1
2. Login to Smarthings IDE
https://account.smarthings.com
3. Go to My Device Handler -> Settings -> Add New Repository
Owner: sachinwadhwa
Name: Smartthings-Swadhwa
Branch: master
Click Save.
4. Click on update from Repository -> Select this repository
5. Check groovy files which you want to import
6. Check Publish - Click OK.
More help on: http://docs.smartthings.com/en/latest/tools-and-ide/github-integration.html