I have tried the following solution but .gitignore
overriding the unignore line.
!/bin/
after compilation, it overrides as follows
!/bin/
/bin/
Found these settings on microfocus Enterprise Developer :
Windows -> Preferences -> Team - Git -> Projects -> "Automatically ignore derived resources by adding them to .gitignore"
After removing or unchecking the line, it stopped updating /bin/ line on gitignore