Detect the current git repository
Reorganize spec directory
Fix repo error message
Add init backend
Implement init command