i couldnt add those yellow files to sourcetree because right click>git>add is not clickable option. Could anyone help me to add them to sourcetree
A folder or file being "yellowed"-out in the IntelliJ project explorer indicates that it has been explicitly excluded from source control management. In the case of Git (which you are using) you can find excluded files/folders in the .gitignore
file.
Any file you explicitly want to include into source control management should not be excluded/mentioned in that file.