Edit .gitignore file in root folder and add dirs/files you don't want to be in git repo
Use ! to negate the pattern:
[...]
```
NowIf you are ready to go!
#Keep in mind some database design best practices
[http://www.yiiframework.com/wiki/227/guidelines-for-good-schema-design](http://www.yiiframework.com/wiki/227/guidelines-for-good-schema-design "Guidelines for good schema design")
Update database with new migrations after updating your repo
```php
$yii/framework/yiic migrate
```
#Don't forget to secure your app
[http://www.yiiframework.com/wiki/275/how-to-write-secure-yii-applications/](http://www.yiiframework.com/wiki/275/how-to-write-secure-yii-applications/ "Secure your app")
want to add your forked repo from github ( i.e.: git@github.com:marcanuy/Comments-module.git ) from another repo (i.e.: git://github.com/segoddnja/Comments-module.git) to the extensions directory, then: